package com.guyaogg.gulimall.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 *
 * 远程调用别的服务
 *      引入 openfeign
 *      编写对应接口
 *      开启远程调用功能
 *        #  @EnableFeignClients(basePackages = "com.guyaogg.gulimall.member.feign")
 *        #  @ComponentScan(basePackages = "com.guyaogg.gulimall.member.feign")
 *
 * @author 顾遥
 */
@EnableFeignClients(basePackages = "com.guyaogg.gulimall.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApplication.class, args);
    }

}
